#pragma once
#ifndef _DISABLED_DUMPER

#include "JeayeSDK.h"
#include "types.h"

#define CC_DUMPER_SUCCESS                            0
#define CC_DUMPER_FAILED_TO_CREATE_DUMP_FILE         1
#define CC_DUMPER_FAILED_TO_SAVE_DUMP_FILE           2
#define CC_DUMPER_DBGHELP_DLL_NOT_FOUND              3
#define CC_DUMPER_DBGHELP_DLL_TOO_OLD                4

typedef void (*cc_dumper_callback_t)(byte_t status, lpvoid_t dump_exception_info);

/**/
JEAYESDK_API bool_t cc_install_dumper(cc_dumper_callback_t callback);
/**/
JEAYESDK_API void cc_uninstall_dumper();

#endif

